<?php

require_once ('CoreTag.php');

class BidirectionalOverride extends CoreTag {
	
	protected $dir;
	
	public function __construct() {
		parent::__construct ("bdo");
		$this->dir="";
		$this->attributeNames=array_merge($this->attributeNames,array('dir'));
		$this->attributeValues=array_merge($this->attributeValues,array(''));
	}
	
	public function setDir($_dir)
	{
		$this->dir=(string)$_dir;
		$this->setAttribute('dir',$_dir);
	}
	
	public function getDir()
	{
		return $this->dir;
	}
}

?>